home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3554 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.5 KB

  1. Path: osiris.ivy-ops.orbis.net!NewsWatcher!user
  2. From: kempkec@multiad.com (Christopher Kempke)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Why C++/G++/?++
  5. Date: 24 Jan 1996 20:32:15 GMT
  6. Organization: Multi-Ad Services, Inc.
  7. Message-ID: <kempkec-2401961430530001@205.164.77.10>
  8. References: <DLFosu.F6s@Federal.Unisys.COM> <4e5ri2$78h@news.cis.nctu.edu.tw>
  9. NNTP-Posting-Host: 205.164.77.10
  10.  
  11.  In article <DLFosu.F6s@Federal.Unisys.COM>, fergusoc says...
  12. >
  13. >I am not trying to start a flame war so please don't but I must wonder outloud
  14. >why one would choose C++ over something like Ada95? It sure as heck isn't
  15. >because C++ is more mature. Hell, its changing (or has done so 
  16. > historically) at Stroustroupe's whim.
  17.  
  18. [lots of ADA benefits deleted]
  19.  
  20. These arguments go on forever.  Every language has it's strong points; I
  21. even hear people defend COBOL from time to time.  People are rarely
  22. willing to go to the effort to learn a new language, especially when
  23. their current one serves their needs reasonably well.  Psychologically,
  24. you don't want to think "gosh, I'm lazy," so you (usually unconsciously)
  25. start magnifying the flaws of the "opposing" language, or convince yourself
  26. that the benefits of the language aren't important.
  27.  
  28. Replace "language" with "Operating System", "Word Processor", or even
  29. "Political Belief" and you can auto-generate 96.3% of all usenet traffic.
  30.  
  31. C++ is usually chosen because it's reasonably standard.  It's neither the
  32. best nor the worst of languages, it's reasonably efficient, reasonably
  33. object-oriented, and reasonably general-purpose, though it excels at none
  34. of those things.
  35.  
  36. My personal belief?  C++ is the language of choice precisely because of
  37. the arguments in my first paragraph - people didn't need to give up their
  38. "C" knowledge when it appeared.  Many people even consider C and C++ to be
  39. minor variations of the same language (an argument not entirely without
  40. merit depending on your OOP usage).  It had built-in popularity because in
  41. a sense people already knew it.
  42.  
  43. To answer the ADA question, I would guess it's mainly a matter of ADA's
  44. extreme complexity, in terms of learning curve, operating system support,
  45. and compiler creation.  There are (to my knowledge) relatively few Ada
  46. compilers around,
  47. and hence not much interest in the non-DOD world.  For many programs, Ada would
  48. be superior to C++ (as would Dylan, SmallTalk, Lisp, FORTRAN, BASIC, ..., ...
  49. depending on the problem at hand), but you can't expect everyone to learn
  50. everything, and C++ has the popularity
  51. at the moment.
  52.